﻿//============================================================
//write by bxl at 2021-06-06 17:50:04
//============================================================

using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace BCDto.TMS.VehicleTransportFaq
{
    /// <summary>
    /// 车辆运输常见问题 数据模型
    /// </summary>
    public class VehicleTransportFaqRequestDto
    {
        /// <summary>
        /// 车辆运输常见问题分类Id
        /// </summary>            
        [Display(Name = "车辆运输常见问题分类Id")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public int VehicleTransportFaqCategoryId { get; set; }
         
        /// <summary>
        /// 常见问题标题
        /// </summary>            
        [Display(Name = "常见问题标题")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public string Title { get; set; }

        /// <summary>
        /// 常见问题描述
        /// </summary>            
        [Display(Name = "常见问题描述")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public string Question { get; set; }

        /// <summary>
        /// 常见问题回复
        /// </summary>            
        [Display(Name = "常见问题回复")] 
        public string Answer { get; set; }

        /// <summary>
        /// 关键字
        /// </summary>            
        [Display(Name = "关键字")] 
        public string KeyWord { get; set; }

        /// <summary>
        /// 是否显示
        /// </summary>            
        [Display(Name = "是否显示")] 
        public bool IsShow { get; set; }


        ///// <summary>
        ///// 已启用
        ///// </summary>
        //[Display(Name = "已启用")]
        //public bool Enabled { get; set; }

    }
}
